package cn.bonoon.policy.impl;

import antlr.collections.List;
import cn.bonoon.kernel.security.LogonUserPrivilegeMapped;
import cn.bonoon.kernel.security.LogonUser;
import cn.bonoon.policy.AccountPrivilegePolicy;

public class RolePrivilegeStoragePolicy implements AccountPrivilegePolicy{

	@Override
	public boolean accept(Object privilege) {
		return List.class.isInstance(privilege);
	}

	@Override
	public void doPolicy(LogonUser user, LogonUserPrivilegeMapped privilegeMapped, Object privilege) {
	}

}
